/* ===========================================
   VIDEO-IZ-FOTO LANDING — clean Tailwind conversion
   Colors: primary #4e9eff, bg #2a323b, card #2e3640, border #39424b, info #2c333b
   =========================================== */

/* --- Fonts (Avenir Next Cyr) --- */
@font-face {
    font-family: 'Avenir Next Cyr Regular';
    src: url('/asset/fonts/AvenirNextCyr-Regular.eot');
    src: url('/asset/fonts/AvenirNextCyr-Regular.eot?#iefix') format('embedded-opentype'),
         url('/asset/fonts/AvenirNextCyr-Regular.woff') format('woff'),
         url('/asset/fonts/AvenirNextCyr-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Avenir Next Cyr Medium';
    src: url('/asset/fonts/AvenirNextCyr-Medium.eot');
    src: url('/asset/fonts/AvenirNextCyr-Medium.eot?#iefix') format('embedded-opentype'),
         url('/asset/fonts/AvenirNextCyr-Medium.woff') format('woff'),
         url('/asset/fonts/AvenirNextCyr-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Avenir Next Cyr Demi';
    src: url('/asset/fonts/AvenirNextCyr-Demi.eot');
    src: url('/asset/fonts/AvenirNextCyr-Demi.eot?#iefix') format('embedded-opentype'),
         url('/asset/fonts/AvenirNextCyr-Demi.woff') format('woff'),
         url('/asset/fonts/AvenirNextCyr-Demi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Avenir Next Cyr Bold';
    src: url('/asset/fonts/AvenirNextCyr-Bold.eot');
    src: url('/asset/fonts/AvenirNextCyr-Bold.eot?#iefix') format('embedded-opentype'),
         url('/asset/fonts/AvenirNextCyr-Bold.woff') format('woff'),
         url('/asset/fonts/AvenirNextCyr-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: #2a323b;
    color: #ffffff;
    font-family: 'Avenir Next Cyr Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    scrollbar-width: thin;
    scrollbar-color: #616972 #353e4a;
}

/* --- Custom Scrollbar --- */
*::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
*::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: #353e4a;
}
*::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #616972;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #616972 #353e4a;
}

/* --- .center (header container from main site) --- */
.center {
    width: 90%;
    max-width: 1520px;
    height: auto;
    margin: 0 auto;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
li { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* --- Layout --- */
.container       { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.container--lg   { max-width: 1152px; }
.container--md   { max-width: 1024px; }
.container--sm   { max-width: 896px; }
.section         { padding: 80px 16px; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: background-color .3s;
    white-space: nowrap;
    text-align: center;
    color: #fff;
}
.btn--primary    { background-color: #4e9eff; }
.btn--primary:hover { background-color: #3b82f6; }
.btn--md         { padding: 8px 16px; font-size: 14px; }
.btn--lg         { padding: 16px 32px; font-size: 18px; }
.btn--xl         { padding: 16px 48px; font-size: 20px; }
.btn--outline {
    background: transparent;
    border: 1px solid #4e9eff;
    color: #4e9eff;
}
.btn--outline:hover {
    background-color: #4e9eff;
    color: #fff;
}
.btn--ghost {
    background-color: #4b5563;
    color: #fff;
}
.btn--ghost:hover { background-color: #6b7280; }

/* --- Text utilities --- */
.text-center     { text-align: center; }
.text-gray-100   { color: #f3f4f6; }
.text-gray-300   { color: #d1d5db; }
.text-gray-400   { color: #9ca3af; }
.text-primary    { color: #4e9eff; }
.text-blue-100   { color: #dbeafe; }

/* ============================
   HERO SECTION
   ============================ */
.hero {
    padding: 48px 16px;
    background-color: #2a323b;
}
.hero__header {
    text-align: center;
    margin-bottom: 64px;
}
.hero__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}
.hero__title span { color: #4e9eff; }
.hero__subtitle {
    font-size: 20px;
    color: #d1d5db;
    margin-bottom: 32px;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   VIDEO GALLERY GRID
   ============================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.video-card {
    background-color: #2e3640;
    border-radius: 24px;
    border: 1px solid #39424b;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    overflow: hidden;
    cursor: pointer;
    transition: all .3s ease;
}
.video-card:hover {
    transform: scale(1.05);
    filter: contrast(1.1);
}
.video-card__image {
    position: relative;
}
.video-card__image img {
    width: 100%;
    height: 256px;
    object-fit: cover;
    object-position: top;
}
.video-card__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 0%, rgba(0,0,0,.7) 100%);
    pointer-events: none;
}
.video-card__play {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-card__label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 18px;
    font-weight: 600;
}
.video-card__footer {
    background-color: #2c333b;
    border-top: 1px solid #39424b;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.video-card__footer span {
    font-size: 14px;
    color: #d1d5db;
}

/* ============================
   SEO CONTENT BLOCK
   ============================ */
.seo-block {
    background-color: #2e3640;
    border-radius: 32px;
    border: 1px solid #39424b;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
    overflow: hidden;
}
.seo-header {
    background: linear-gradient(to right, #4e9eff, #2563eb);
    padding: 32px;
    text-align: center;
}
.seo-header__icon {
    width: 64px;
    height: 64px;
    background-color: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 30px;
}
.seo-header__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}
.seo-header__subtitle {
    font-size: 18px;
    color: #dbeafe;
}
.seo-content {
    padding: 40px;
}
.seo-content__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}
.seo-content__text {
    font-size: 18px;
    color: #d1d5db;
    line-height: 1.7;
}
.seo-content__text p { margin-bottom: 24px; }
.seo-content__text p:last-child { margin-bottom: 0; }
.seo-content__text p:first-child::first-letter {
    font-size: 36px;
    font-weight: 700;
    color: #4e9eff;
    float: left;
    margin-right: 8px;
    margin-top: 4px;
    line-height: 1;
}
.seo-content__image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}

/* SEO Stats */
.seo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid #39424b;
}
.seo-stat { text-align: center; }
.seo-stat__icon {
    width: 48px;
    height: 48px;
    background-color: rgba(78,158,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
    color: #4e9eff;
}
.seo-stat__value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}
.seo-stat__label {
    font-size: 14px;
    color: #9ca3af;
}

/* ============================
   HOW IT WORKS
   ============================ */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
}
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.how-step { text-align: center; }
.how-step__icon {
    width: 64px;
    height: 64px;
    background-color: #4e9eff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 24px;
}
.how-step__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}
.how-step__text {
    color: #d1d5db;
}

/* ============================
   PROMPT BUILDER
   ============================ */
.prompt-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}
.prompt-subtitle {
    font-size: 20px;
    color: #d1d5db;
    text-align: center;
    margin-bottom: 64px;
}
.prompt-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.prompt-card {
    background-color: #2e3640;
    border-radius: 24px;
    border: 1px solid #39424b;
    padding: 16px;
    cursor: pointer;
    transition: all .3s;
    height: 180px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.prompt-card:hover {
    border-color: #4e9eff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}
.prompt-card.selected {
    border-color: #4e9eff;
    box-shadow: 0 0 0 2px rgba(78,158,255,.25);
}
.prompt-card__icon {
    width: 32px;
    height: 32px;
    background-color: #4e9eff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 14px;
}
.prompt-card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.prompt-card__sub {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 8px;
}
.prompt-card__example {
    font-size: 12px;
    color: #d1d5db;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: auto;
}

/* Prompt example block */
.prompt-example {
    margin-top: 64px;
    background-color: #2e3640;
    border-radius: 24px;
    border: 1px solid #39424b;
    padding: 32px;
}
.prompt-example__title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}
.prompt-example__desc {
    color: #d1d5db;
    text-align: center;
    margin-bottom: 32px;
}
.prompt-code {
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 16px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 32px;
}
.prompt-code .c-blue,
.prompt-result__line .c-blue     { color: #93c5fd; font-weight: 600; }
.prompt-code .c-green,
.prompt-result__line .c-green    { color: #86efac; font-weight: 600; }
.prompt-code .c-purple,
.prompt-result__line .c-purple   { color: #d8b4fe; font-weight: 600; }
.prompt-code .c-orange,
.prompt-result__line .c-orange   { color: #fdba74; font-weight: 600; }
.prompt-code .c-yellow,
.prompt-result__line .c-yellow   { color: #fde047; font-weight: 600; }
.prompt-code .c-indigo,
.prompt-result__line .c-indigo   { color: #a5b4fc; font-weight: 600; }
.prompt-code .c-value    { color: #f3f4f6; }

/* ============================
   BENEFITS
   ============================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.benefit-card {
    background-color: #2e3640;
    border-radius: 24px;
    border: 1px solid #39424b;
    padding: 24px;
    text-align: center;
}
.benefit-card__icon {
    width: 48px;
    height: 48px;
    background-color: #4e9eff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
}
.benefit-card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.benefit-card__text {
    font-size: 14px;
    color: #d1d5db;
}

/* ============================
   FAQ
   ============================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background-color: #2e3640;
    border-radius: 24px;
    border: 1px solid #39424b;
    overflow: hidden;
}
.faq-item__question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    transition: background-color .3s;
}
.faq-item__question:hover {
    background-color: #374151;
}
.faq-item__question i {
    font-size: 20px;
    transition: transform .3s;
}
.faq-item.active .faq-item__question i {
    transform: rotate(180deg);
}
.faq-item__answer {
    padding: 0 24px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
}
.faq-item.active .faq-item__answer {
    padding: 0 24px 24px;
    max-height: 500px;
}
.faq-item__answer p {
    color: #d1d5db;
}

/* ============================
   CTA
   ============================ */
.cta { text-align: center; }
.cta__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}
.cta__subtitle {
    font-size: 20px;
    color: #d1d5db;
    margin-bottom: 32px;
}

/* ============================
   MODAL
   ============================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal.active {
    display: flex;
}
.modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.modal__body {
    position: relative;
    background-color: #2e3640;
    border-radius: 24px;
    border: 1px solid #39424b;
    max-width: 896px;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
}
.modal__video-area { position: relative; }
.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,.5);
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s;
}
.modal__close:hover { background-color: rgba(0,0,0,.7); }
.modal__image {
    width: 100%;
    height: 384px;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
}
.modal__video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    border-radius: 24px 24px 0 0;
    background: #000;
    display: none;
}
.modal__info { padding: 24px; }
.modal__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.modal__desc {
    color: #d1d5db;
    margin-bottom: 24px;
}

/* Prompt toggle */
.modal__prompt-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4e9eff;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    transition: color .3s;
}
.modal__prompt-toggle:hover { color: #3b82f6; }
.modal__prompt-toggle .arrow {
    transition: transform .3s;
    font-size: 12px;
}
.modal__prompt-toggle.open .arrow {
    transform: rotate(180deg);
}
.modal__prompt-content {
    display: none;
    margin-top: 16px;
    margin-bottom: 24px;
}
.modal__prompt-content.visible { display: block; }
.modal__prompt-code-block {
    background-color: #1e2530;
    border: 1px solid #39424b;
    border-radius: 8px;
    padding: 16px;
    font-family: monospace;
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 16px;
    word-break: break-word;
    white-space: pre-wrap;
}
.modal__prompt-actions {
    display: flex;
    gap: 8px;
}

/* Modal footer */
.modal__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px 24px;
}
.modal__nav {
    display: flex;
    gap: 8px;
}
.modal__nav-btn {
    width: 40px;
    height: 40px;
    background-color: #4b5563;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s;
}
.modal__nav-btn:hover { background-color: #6b7280; }

/* ============================
   PROMPT BUILDER MODAL
   ============================ */
.pb-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.pb-modal.active { display: flex; }
.pb-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.pb-modal__body {
    position: relative;
    background-color: #2e3640;
    border-radius: 24px;
    border: 1px solid #39424b;
    max-width: 560px;
    width: 100%;
    padding: 32px;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #616972 #2e3640;
}
.pb-modal__body::-webkit-scrollbar {
    width: 4px;
}
.pb-modal__body::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: #2e3640;
}
.pb-modal__body::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #616972;
}
.pb-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,.1);
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s;
    cursor: pointer;
}
.pb-modal__close:hover { background-color: rgba(255,255,255,.2); }
.pb-modal__icon {
    width: 48px;
    height: 48px;
    background-color: #4e9eff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}
.pb-modal__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.pb-modal__hint {
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.pb-modal__hint strong { color: #fff; }
.pb-modal__hint ul {
    margin: 8px 0;
    padding-left: 20px;
}
.pb-modal__hint ul li {
    list-style: disc;
    color: #d1d5db;
    margin-bottom: 4px;
}
.pb-modal__fragment {
    margin-top: 14px;
    background-color: rgba(78,158,255,.08);
    border-left: 3px solid #4e9eff;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #d1d5db;
}
.pb-modal__fragment strong {
    display: block;
    color: #93c5fd;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.pb-modal__examples {
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}
.pb-modal__examples-label {
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.pb-modal__examples span {
    display: inline-block;
    background-color: rgba(78,158,255,.15);
    color: #93c5fd;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 13px;
    margin: 2px 4px 2px 0;
    cursor: pointer;
    transition: background-color .2s;
}
.pb-modal__examples span:hover {
    background-color: rgba(78,158,255,.3);
}
.pb-modal__textarea {
    width: 100%;
    min-height: 100px;
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    padding: 14px 16px;
    resize: vertical;
    margin-bottom: 20px;
    transition: border-color .3s;
    scrollbar-width: thin;
    scrollbar-color: #616972 #1f2937;
}
.pb-modal__textarea::-webkit-scrollbar {
    width: 4px;
}
.pb-modal__textarea::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: #1f2937;
}
.pb-modal__textarea::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #616972;
}
.pb-modal__textarea::placeholder { color: #6b7280; }
.pb-modal__textarea:focus {
    outline: none;
    border-color: #4e9eff;
}
.pb-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.pb-modal__actions .btn--ghost { min-width: 100px; }
.pb-modal__actions .btn--primary { min-width: 140px; }

/* Prompt card filled state */
.prompt-card.filled {
    border-color: #4e9eff;
    position: relative;
}
.prompt-card.filled::after {
    content: '\eb7b';
    font-family: 'remixicon';
    position: absolute;
    top: 12px;
    right: 12px;
    color: #4e9eff;
    font-size: 18px;
}
.prompt-card.filled .prompt-card__example { display: none; }
.prompt-card__saved {
    font-size: 12px;
    color: #86efac;
    margin-top: auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

/* Prompt result block */
.prompt-result {
    margin-top: 64px;
    background-color: #2e3640;
    border-radius: 24px;
    border: 1px solid #39424b;
    padding: 32px;
}
.prompt-result__title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}
.prompt-result__desc {
    color: #9ca3af;
    text-align: center;
    margin-bottom: 24px;
    font-size: 15px;
}
.prompt-result__code {
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 12px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 24px;
    min-height: 60px;
    max-height: 410px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #616972 #1f2937;
}
.prompt-result__code::-webkit-scrollbar {
    width: 4px;
}
.prompt-result__code::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: #1f2937;
}
.prompt-result__code::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #616972;
}
.prompt-result__line {
    margin-bottom: 4px;
}
.prompt-result__line .label {
    font-weight: 600;
}
.prompt-result__line .value {
    color: #f3f4f6;
}
.prompt-result__empty {
    color: #6b7280;
    text-align: center;
    padding: 20px;
    font-style: italic;
}
.prompt-result__footer {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1220px) {
    .hero { padding-top: 80px; }
}
@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .prompt-grid { grid-template-columns: repeat(3, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero__title { font-size: 36px; }
    .hero__subtitle { font-size: 18px; }
    .video-grid { grid-template-columns: 1fr; }
    .seo-content__grid { grid-template-columns: 1fr; }
    .seo-content__image { order: -1; }
    .seo-header__title { font-size: 24px; }
    .how-grid { grid-template-columns: 1fr; gap: 32px; }
    .prompt-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: 1fr; }
    .seo-stats { grid-template-columns: 1fr; }
    .section-title, .prompt-title { font-size: 28px; }
    .cta__title { font-size: 32px; }
    .modal__image { height: 240px; }
    .pb-modal__body { padding: 24px 20px; border-radius: 16px; }
    .pb-modal__title { font-size: 20px; }
    .prompt-result { padding: 24px 16px; }
    .prompt-result__title { font-size: 20px; }
    .prompt-result__footer { flex-direction: column; align-items: stretch; }
    .prompt-result__footer .btn { text-align: center; }
}
@media (min-width: 1025px) {
    .hero__title { font-size: 60px; }
}

/* --- Toast notification --- */
.vif-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1e2530;
    color: #fff;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    border: 1px solid #39424b;
}
.vif-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Кнопка «Усилить промпт» ─────────────────────────────── */
.btn--accent {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}
.btn--accent:hover { opacity: .88; transform: translateY(-1px); }
.btn--accent:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
}
.btn--accent i.ri-spin {
    display: inline-block;
    animation: ri-spin 1s linear infinite;
}
@keyframes ri-spin { to { transform: rotate(360deg); } }

.enhance-counter {
    font-size: 12px;
    color: #9ca3af;
    align-self: center;
    white-space: nowrap;
}
