/* ── Hero: text left, image right ─────────────────────────────────────────── */

.hero-section.vtt-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 56px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 24px 120px;
}

/* тема гасит .hero-subtitle br на ≤862 (video-transcription-styles.css),
   но здесь перенос нужен на всех ширинах; правило общее для этой страницы
   и page-video-moderation.php, поэтому перебиваем адресно */
.vtt-hero .hero-subtitle br {
    display: inline;
}

.vtt-hero .hero-content {
    max-width: none;
    margin: 0;
    text-align: left;
}

.vtt-hero .transcript-hero-title {
    margin-top: 0;
}

.vtt-hero .hero-cta-section {
    gap: 32px;
    margin-bottom: 0;
}

.vtt-hero .hero-cta-wrapper,
.vtt-hero .hero-cta-button {
    margin: 0;
}

.vtt-hero .hero-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 25px;
}

@media screen and (max-width: 1280px) {
    .hero-section.vtt-hero {
        gap: 40px;
        padding: 120px 24px 100px;
    }

    .vtt-hero .transcript-hero-title {
        font-size: 48px;
    }
}

@media screen and (max-width: 1024px) {
    .hero-section.vtt-hero {
        grid-template-columns: 1fr;
        padding: 100px 24px 80px;
    }

    .vtt-hero .hero-content {
        text-align: center;
    }

    .vtt-hero .hero-cta-section {
        align-items: center;
    }
}

@media screen and (max-width: 862px) {
    .hero-section.vtt-hero {
        gap: 32px;
        padding: 80px 16px 64px;
    }

    .vtt-hero .hero-content {
        max-width: none !important;
    }

    .vtt-hero .hero-img {
        max-width: 100%;
    }
}

/* ── One upload. Four results. ────────────────────────────────────────────── */

.vtt-more {
    background: linear-gradient(180deg, rgba(235, 235, 250, 0) 0%, var(--lilac) 50%, rgba(235, 235, 250, 0) 100%);
    padding: 88px 0;
    position: relative;
    z-index: 1;
}

.vtt-more-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.vtt-more-text,
.vtt-more-ui {
    min-width: 0;
}

.vtt-more-kicker {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--blue);
    margin: 0 0 10px;
}

.vtt-more-title {
    font-weight: 700;
    font-size: 44px;
    line-height: 108%;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
}

.vtt-more-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 26px;
}

.vtt-more-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
}

.vtt-more-row-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #EBEBF5;
    display: grid;
    place-items: center;
}

.vtt-more-row-icon img {
    width: auto;
    max-width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.vtt-more-row-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: var(--ink);
    margin: 0 0 3px;
}

.vtt-more-row-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--muted);
}

/* ── демо-панель: табы с автопереключением ── */

.vtt-more-ui {
    background: #FFFFFF;
    border: 1px solid #EBEBF5;
    border-radius: 22px;
    box-shadow: 0 34px 70px -34px rgba(51, 51, 255, .32);
}

.vtt-more-ui-tabs {
    padding: 14px 16px;
    border-bottom: 1px solid #EBEBF5;
    border-radius: 22px 22px 0 0;
}

.vtt-more-pillbar {
    display: flex;
    gap: 4px;
    padding: 5px;
    border-radius: 16px;
    background: #F7F7FC;
}

.vtt-more-tab {
    position: relative;
    display: flex;
    flex: 1;
    min-width: 0;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 6px;
    border-radius: 12px;
    color: var(--muted-2);
    transition: background .25s ease, color .25s ease;
}

.vtt-more-tab img {
    width: 20px;
    height: 20px;
    display: block;
}

.vtt-more-tab.is-active {
    background: #FFFFFF;
    color: var(--blue);
    box-shadow: 0 6px 16px -10px rgba(51, 51, 255, .4);
}

.vtt-more-tab::after {
    content: attr(data-label);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 9px 16px;
    border: 1px solid #EBEBF5;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 12px 26px -12px rgba(28, 28, 31, .28);
    color: var(--ink);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 5;
}

.vtt-more-tab.is-active::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.vtt-more-ui-body {
    position: relative;
    min-height: 200px;
    padding: 26px 28px 30px;
}

.vtt-more-pane {
    display: none;
}

.vtt-more-pane.is-active {
    display: block;
    animation: vttMoreFade .35s ease;
}

@keyframes vttMoreFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── таб 1: транскрипт ── */

.vtt-more-turn {
    margin-bottom: 16px;
}

.vtt-more-turn:last-child {
    margin-bottom: 0;
}

.vtt-more-turn-who {
    font-size: 16px;
    line-height: 140%;
    color: var(--muted-2);
    margin: 0 0 5px;
}

.vtt-more-turn-line {
    font-size: 16px;
    line-height: 150%;
    color: #2A2A33;
    margin: 0;
}

.vtt-more-hl {
    background: linear-gradient(90deg, #3333FF 0%, #FF5C33 100%);
    border-radius: 6px;
    padding: 1px 4px;
    color: #FFFFFF;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/*.vtt-more-fade {*/
/*    color: #C7C4D4;*/
/*}*/

/* ── таб 2: субтитры ── */

.vtt-more-subrow {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 6px 8px;
    border-radius: 8px;
}

.vtt-more-subrow-tc {
    font-size: 16px;
    line-height: 140%;
    color: var(--muted-2);
    padding-top: 1px;
}

.vtt-more-subrow-tx {
    font-size: 16px;
    line-height: 140%;
    color: #3A3A45;
}

.vtt-more-subrow.is-current {
    background: rgba(214, 51, 132, .07);
}

.vtt-more-subrow.is-current .vtt-more-subrow-tc {
    font-weight: 500;
    color: #D63384;
}

.vtt-more-subrow.is-current .vtt-more-subrow-tx {
    color: var(--ink);
}

/* ── таб 3: главы ── */

.vtt-more-chapter {
    border: 1px solid #EBEBF5;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.vtt-more-chapter:last-child {
    margin-bottom: 0;
}

.vtt-more-chapter.is-playing {
    border: 1.5px solid transparent;
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(90deg, #3333FF 0%, #FF5C33 100%) border-box;
}

.vtt-more-chapter-top {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.vtt-more-chapter-tc {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 16px;
    color: var(--ink);
    flex: none;
}

.vtt-more-chapter-title {
    font-weight: 500;
    font-size: 16px;
    color: var(--ink);
}

.vtt-more-chapter-desc {
    font-size: 16px;
    line-height: 145%;
    color: var(--muted);
    margin: 0;
}

/* ── таб 4: саммари ── */

.vtt-more-sum-title {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 14px;
}

.vtt-more-sum-table {
    display: flex;
    flex-direction: column;
}

.vtt-more-sum-row {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #F7F7FC;
}

.vtt-more-sum-row:last-child {
    border-bottom: 0;
}

.vtt-more-sum-row.is-head {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: var(--muted-2);
}

.vtt-more-sum-cell {
    font-size: 16px;
    line-height: 135%;
    color: #2A2A33;
}

.vtt-more-sum-cell.is-stage {
    font-weight: 500;
    color: var(--ink);
}

/*!* последняя строка «обрывается» — намёк, что документ длиннее *!*/
/*.vtt-more-sum-row.is-fade .vtt-more-sum-cell,*/
/*.vtt-more-sum-row.is-fade .vtt-more-sum-cell.is-stage {*/
/*    color: #C7C4D4;*/
/*}*/

/* ── таб 5: квиз ── */

.vtt-more-quiz-num {
    font-size: 16px;
    line-height: 140%;
    color: var(--muted-2);
    margin: 0 0 6px;
}

.vtt-more-quiz-q {
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: var(--ink);
    margin: 0 0 14px;
}

.vtt-more-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vtt-more-quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1.5px solid #EBEBF5;
    border-radius: 14px;
    font-size: 16px;
    line-height: 135%;
    color: #2A2A33;
}

.vtt-more-quiz-radio {
    width: 18px;
    height: 18px;
    flex: none;
    border: 1.5px solid #EBEBF5;
    border-radius: 50%;
    background: #F7F7FC;
}

.vtt-more-quiz-option.is-correct {
    border-color: #2FBF71;
    background: rgba(47, 191, 113, .05);
}

.vtt-more-quiz-option.is-correct .vtt-more-quiz-radio {
    position: relative;
    border-color: transparent;
    background: conic-gradient(from 180deg, #3333FF, #8A3FD1, #FF5C33, #3333FF);
}

.vtt-more-quiz-option.is-correct .vtt-more-quiz-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #FFFFFF;
}

.vtt-more-quiz-option.is-wrong {
    border-color: #FF5C5C;
    background: rgba(255, 92, 92, .05);
}

.vtt-more-quiz-x {
    margin-left: auto;
    flex: none;
    font-weight: 500;
    font-size: 15px;
    color: #FF5C5C;
}

.vtt-more-quiz-link {
    display: block;
    margin-top: 14px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    color: #D63384;
}

@media screen and (max-width: 1024px) {
    .vtt-more {
        padding: 60px 0;
    }

    .vtt-more-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

@media screen and (max-width: 862px) {
    .vtt-more-title {
        font-size: 36px;
    }

    .vtt-more-row-title {
        font-size: 18px;
    }

    .vtt-more-ui-body {
        padding: 20px 18px 24px;
    }

    .vtt-more-sum-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .vtt-more-sum-row.is-head {
        display: none;
    }
}

@media screen and (max-width: 648px) {
    .vtt-more-container {
        padding: 0 16px;
    }

    /* тултип держится над своим табом; у крайних прижимаем его к краю таба,
       иначе на узких экранах он вылезает за карточку */
    .vtt-more-tab:first-child::after {
        left: 0;
        transform: translateX(0) translateY(4px);
    }

    .vtt-more-tab:first-child.is-active::after {
        transform: translateX(0) translateY(0);
    }

    .vtt-more-tab:last-child::after {
        left: auto;
        right: 0;
        transform: translateX(0) translateY(4px);
    }

    .vtt-more-tab:last-child.is-active::after {
        transform: translateX(0) translateY(0);
    }
}

/* ── Search across every video you upload ─────────────────────────────────── */

.vtt-search {
    padding: 40px 0;
    /*padding: 88px 0;*/
    position: relative;
    z-index: 1;
}

.vtt-search-container {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* перебиваем .features-img из landing-styles.css: там max-width 500px и flex: 1
   под флекс-раскладку — в этой сетке скриншот из-за них выходит мельче колонки */
.vtt-search .features-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.vtt-search-title {
    font-weight: 700;
    font-size: 54px;
    line-height: 105%;
    color: var(--ink);
    margin: 0;
}

.vtt-search-desc {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--muted);
    margin-top: 18px;
}

.vtt-search-desc b {
    color: var(--ink-2);
    font-weight: 500;
}

/* ── Pay per minute, not per month ────────────────────────────────────────── */

.vtt-pricing {
    background: linear-gradient(180deg, rgba(235, 235, 250, 0) 0%, var(--lilac) 50%, rgba(235, 235, 250, 0) 100%);
    padding: 88px 0;
    position: relative;
    z-index: 1;
}

.vtt-pricing-box {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.vtt-pricing-title {
    font-weight: 700;
    font-size: 54px;
    line-height: 105%;
    color: var(--ink);
    margin: 0;
}

.vtt-pricing-desc {
    max-width: 620px;
    margin: 18px auto 36px;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--muted);
}

.vtt-pricing-desc b {
    color: var(--ink-2);
    font-weight: 500;
}

.vtt-pricing-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 38px;
}

.vtt-pricing-fact {
    background: linear-gradient(180deg, #F5F5FA 0%, #FFFFFF 100%);
    border: 1px solid #EBEBF5;
    border-radius: 32px;
    padding: 24px 20px;
}

.vtt-pricing-fact-value {
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.vtt-pricing-fact-caption {
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    color: var(--muted);
    margin-top: 5px;
}

/* ── Who turns video into text with ViSearch ──────────────────────────────── */

.vtt-who {
    padding: 88px 0;
    position: relative;
    z-index: 1;
}

.vtt-who-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.vtt-who-title {
    font-weight: 700;
    font-size: 54px;
    line-height: 105%;
    color: var(--ink);
    text-align: center;
    margin: 0 0 48px;
}

.vtt-who-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.vtt-who-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: start;
    background: linear-gradient(180deg, #F5F5FA 0%, #FFFFFF 100%);
    border: 1px solid #EBEBF5;
    border-radius: 32px;
    padding: 22px 24px;
}

.vtt-who-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #EBEBF5;
    display: grid;
    place-items: center;
}

.vtt-who-icon img {
    width: auto;
    max-width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.vtt-who-item-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: var(--ink);
    margin: 0 0 3px;
}

.vtt-who-item-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--muted);
}

@media screen and (max-width: 1024px) {
    .vtt-search,
    .vtt-pricing,
    .vtt-who {
        padding: 60px 0;
    }

    .vtt-search-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .vtt-search .features-img {
        max-width: 680px;
    }
}

@media screen and (max-width: 862px) {
    .vtt-search-title,
    .vtt-pricing-title,
    .vtt-who-title {
        font-size: 36px;
    }

    .vtt-search-desc,
    .vtt-pricing-desc {
        font-size: 16px;
    }

    .vtt-who-title {
        margin-bottom: 32px;
    }

    .vtt-who-list {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .vtt-who-item-title {
        font-size: 18px;
    }
}

@media screen and (max-width: 648px) {
    .vtt-search-container,
    .vtt-pricing-box,
    .vtt-who-container {
        padding: 0 16px;
    }

    .vtt-pricing-facts {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto 34px;
    }
}

/* ── How to convert video to text online ──────────────────────────────────── */

.vtt-hiw {
    background: #FFFFFF;
    padding: 88px 0;
    position: relative;
    z-index: 1;
}

.vtt-hiw-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.vtt-hiw-title {
    font-weight: 700;
    font-size: 54px;
    line-height: 105%;
    color: var(--ink);
    text-align: center;
    margin: 0 0 52px;
}

.vtt-hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

/* пунктирная линия «конвейера» между карточками */
.vtt-hiw-steps::before {
    content: "";
    position: absolute;
    top: 86px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}

.vtt-hiw-step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 13px;
    background: linear-gradient(180deg, #F5F5FA 0%, #FFFFFF 100%);
    border: 1px solid #EBEBF5;
    border-radius: 32px;
    padding: 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.vtt-hiw-step:hover {
    transform: translateY(-4px);
    border-color: rgba(51, 51, 255, .28);
    box-shadow: 0 28px 60px -26px rgba(51, 51, 255, .3);
}

.vtt-hiw-step-num {
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: .14em;
    color: var(--muted-2);
}

.vtt-hiw-step-icon {
    width: 56px;
    height: 56px;
}

.vtt-hiw-step-icon img {
    width: 56px;
    height: 56px;
    display: block;
}

.vtt-hiw-step-title {
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: var(--ink);
    margin: 0;
}

.vtt-hiw-step-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--muted);
}

.vtt-hiw-step-desc b {
    color: var(--ink-2);
    font-weight: 500;
}

.vtt-hiw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-top: 8px;
}

.vtt-hiw-chip {
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    color: #5F5A6B;
    background: #F7F7FC;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 6px 9px;
}

/* плашка со скоростью: градиентная рамка через двойной background */
.vtt-hiw-speed {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    margin-top: auto;
    padding: 10px 15px 10px 12px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                var(--grad) border-box;
}

.vtt-hiw-speed img {
    width: 18px;
    height: 18px;
}

.vtt-hiw-speed-text {
    font-weight: 700;
    font-size: 15px;
    line-height: 100%;
    white-space: nowrap;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.vtt-hiw-speed-text s {
    font-weight: 400;
    color: var(--muted-2);
    -webkit-text-fill-color: var(--muted-2);
}

@media screen and (max-width: 1024px) {
    .vtt-hiw {
        padding: 60px 0;
    }

    .vtt-hiw-steps {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .vtt-hiw-steps::before {
        display: none;
    }
}

@media screen and (max-width: 862px) {
    .vtt-hiw-title {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .vtt-hiw-step-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 648px) {
    .vtt-hiw-container {
        padding: 0 16px;
    }
}

/* ── AI video transcript generator (intro) ────────────────────────────────── */

.vtt-intro {
    background: #FFFFFF;
    padding: 88px 0 0;
    position: relative;
    z-index: 1;
}

.vtt-intro-container {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.vtt-intro-title {
    font-weight: 700;
    font-size: 44px;
    line-height: 108%;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-align: left;
    margin: 0;
}

.vtt-intro-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--muted);
}

.vtt-intro-copy p {
    margin: 0;
}

.vtt-intro-copy b {
    color: var(--ink-2);
    font-weight: 500;
}

.vtt-intro-cta-line {
    font-weight: 500;
    color: var(--ink-2);
}

@media screen and (max-width: 1024px) {
    .vtt-intro {
        padding-top: 0;
    }

    .vtt-intro-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media screen and (max-width: 862px) {
    .vtt-intro-title {
        font-size: 36px;
    }

    .vtt-intro-copy {
        font-size: 16px;
    }
}

@media screen and (max-width: 648px) {
    .vtt-intro-container {
        padding: 0 16px;
    }
}
