.j3d-converter {
    --j3d-primary: #424cb9;
    --j3d-primary-dark: #353fa0;
    --j3d-primary-light: #eef0fb;
    --j3d-primary-soft: #f6f7fd;
    --j3d-primary-text: #353fa0;
    --j3d-radius: 8px;
    --j3d-shadow: 0 2px 12px rgba(66, 76, 185, 0.08);
    margin-bottom: 40px;
}

/* ——— Кнопки и ссылки: без подчёркивания ——— */
.j3d-converter a,
.j3d-converter a:hover,
.j3d-converter a:focus,
.j3d-converter a:active,
.j3d-converter .btn-u,
.j3d-converter .btn-u:hover,
.j3d-converter .btn-u:focus,
.j3d-converter .btn-u:active {
    text-decoration: none !important;
}

.j3d-converter__intro {
    color: #5a6278;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.65;
}

/* ——— Зона загрузки ——— */
.j3d-converter__dropzone {
    position: relative;
    margin: 30px 0 15px;
    padding: 45px 30px;
    border: 2px dashed var(--j3d-primary);
    border-radius: 16px;
    background: var(--j3d-primary-soft);
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 12px rgba(66, 76, 185, 0.06);
}

.j3d-converter__dropzone:hover {
    border-color: var(--j3d-primary-dark);
    background: var(--j3d-primary-light);
    box-shadow: 0 6px 20px rgba(66, 76, 185, 0.12);
    transform: translateY(-1px);
}

.j3d-converter__dropzone.is-dragover {
    border-color: #10b981;
    background: #ecfdf5;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
    transform: scale(1.01);
}

.j3d-converter__dropzone-icon {
    font-size: 48px;
    color: var(--j3d-primary);
    margin-bottom: 16px;
    transition: all 0.25s ease;
}

.j3d-converter__dropzone:hover .j3d-converter__dropzone-icon {
    color: var(--j3d-primary-dark);
    transform: translateY(-4px);
}

.j3d-converter__dropzone.is-dragover .j3d-converter__dropzone-icon {
    color: #10b981;
    transform: scale(1.1) rotate(5deg);
}

.j3d-converter__dropzone-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1f2937;
}

.j3d-converter__dropzone-hint {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.j3d-converter__hidden-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ——— Панель настроек ——— */
.j3d-converter__panel {
    margin-top: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e8eaf3;
    border-radius: var(--j3d-radius);
    box-shadow: var(--j3d-shadow);
}

.j3d-converter__settings {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.j3d-converter__settings--main {
    margin-bottom: 0;
}

.j3d-converter__field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
    color: #4a5568;
}

.j3d-converter__field select,
.j3d-converter__field input[type="number"] {
    min-width: 140px;
    padding: 8px 12px;
    border: 1px solid #d5dae8;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.j3d-converter__field select:focus,
.j3d-converter__field input[type="number"]:focus {
    border-color: var(--j3d-primary);
    outline: none;
}

.j3d-converter__quality {
    min-width: 220px;
    flex: 1;
}

.j3d-converter__quality input[type="range"] {
    width: 100%;
    vertical-align: middle;
    accent-color: var(--j3d-primary);
}

.j3d-converter__quality-value {
    font-weight: 700;
    color: var(--j3d-primary);
}

.j3d-converter__resize {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ——— Список файлов ——— */
.j3d-converter__file-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.j3d-converter__file-item {
    padding: 14px;
    margin-bottom: 10px;
    background: #fafbfe;
    border: 1px solid #eceef5;
    border-radius: var(--j3d-radius);
    transition: border-color 0.2s;
}

.j3d-converter__file-item:last-child {
    margin-bottom: 0;
}

.j3d-converter__file-item:hover {
    border-color: #d5daf0;
}

.j3d-converter__file-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.j3d-converter__thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e0e4f0;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.j3d-converter__thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--j3d-primary-light);
    color: var(--j3d-primary);
    font-size: 24px;
}

.j3d-converter__file-body {
    flex: 1;
    min-width: 0;
}

.j3d-converter__file-actions {
    flex-shrink: 0;
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

.j3d-converter__file-name {
    font-weight: 600;
    word-break: break-all;
    color: #2d3748;
    font-size: 14px;
}

.j3d-converter__file-meta {
    font-size: 12px;
    color: #7a8499;
    margin-top: 2px;
}

.j3d-converter__progress {
    height: 5px;
    background: #e8eaf3;
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.j3d-converter__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--j3d-primary), #5b64c9);
    width: 0;
    transition: width 0.25s ease;
    border-radius: 3px;
}

.j3d-converter__status {
    font-size: 12px;
    margin-top: 6px;
}

.j3d-converter__status.is-error {
    color: #c0392b;
}

.j3d-converter__status.is-success {
    color: var(--j3d-primary);
    font-weight: 600;
}

.j3d-converter__status.is-processing {
    color: #5b64c9;
}

.j3d-converter__saved {
    color: var(--j3d-primary);
    font-weight: 600;
}

.j3d-converter__saved--up {
    color: #888;
}

/* ——— Кнопки ——— */
.j3d-converter__actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.j3d-converter .btn-u {
    background: var(--j3d-primary);
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(66, 76, 185, 0.25);
}

.j3d-converter .btn-u:hover,
.j3d-converter .btn-u:focus,
.j3d-converter .btn-u:active {
    background: var(--j3d-primary-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(66, 76, 185, 0.35);
    transform: translateY(-1px);
}

.j3d-converter .btn-u.btn-u-lg {
    padding: 12px 28px;
    font-size: 16px;
}

.j3d-converter .btn-u.btn-u-sm {
    padding: 6px 12px;
    font-size: 13px;
    box-shadow: 0 1px 4px rgba(66, 76, 185, 0.2);
}

.j3d-converter .btn-u.btn-u-green {
    background: var(--j3d-primary);
    border: none;
    color: #fff;
    height: auto;
}

.j3d-converter .btn-u.btn-u-green:hover,
.j3d-converter .btn-u.btn-u-green:focus,
.j3d-converter .btn-u.btn-u-green:active {
    background: var(--j3d-primary-dark);
    color: #fff;
}

.j3d-converter .btn-u.btn-u-default {
    background: #f0f2f8;
    color: #5a6278;
    box-shadow: none;
    border: 1px solid #dde1ec;
}

.j3d-converter .btn-u.btn-u-default:hover {
    background: #e4e8f4;
    color: #3d4a5c;
    transform: none;
    box-shadow: none;
}

/* ——— Уведомление ——— */
.j3d-converter__notice {
    margin-top: 24px;
    padding: 14px 18px;
    background: var(--j3d-primary-light);
    border-left: 4px solid var(--j3d-primary);
    border-radius: 0 var(--j3d-radius) var(--j3d-radius) 0;
    font-size: 13px;
    color: #5a6278;
    line-height: 1.5;
}

.j3d-converter__notice i {
    color: var(--j3d-primary);
    margin-right: 6px;
}

.j3d-converter__hidden-input {
    display: none;
}

/* ——— Бейджи форматов ——— */
.j3d-converter__preset-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eceef5;
}

.j3d-converter__preset-bar .fa-long-arrow-right {
    color: var(--j3d-primary);
    font-size: 18px;
}

.j3d-converter__format-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f6fa;
    border: 1px solid #dde1ec;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    color: #4a5568;
    letter-spacing: 0.03em;
}

.j3d-converter__format-badge--out {
    background: var(--j3d-primary);
    border-color: var(--j3d-primary);
    color: #fff;
}

/* ——— Доп. настройки ——— */
.j3d-converter__advanced {
    margin-bottom: 18px;
}

.j3d-converter__advanced summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--j3d-primary);
    margin-bottom: 12px;
    padding: 8px 0;
    user-select: none;
}

.j3d-converter__advanced summary:hover {
    color: var(--j3d-primary-dark);
}

.j3d-converter__field--check label {
    font-weight: normal;
    cursor: pointer;
    color: #555;
}

.j3d-converter__captcha {
    margin: 18px 0;
    padding: 16px;
    background: var(--j3d-primary-soft);
    border: 1px solid #dde1ec;
    border-radius: var(--j3d-radius);
}

.j3d-converter__captcha-hint {
    margin: 0 0 10px;
    font-size: 13px;
    color: #5a6278;
}

/* ——— Лендинг ——— */
.j3d-landing__section {
    margin-top: 50px;
    margin-bottom: 25px;
    padding-top: 32px;
    border-top: 1px solid #eceef5;
}

.j3d-landing__section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
    padding-bottom: 0;
    display: block;
}

.j3d-landing__text {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.6;
}

.j3d-landing__steps {
    padding-left: 20px;
    color: #555;
    line-height: 1.9;
}

.j3d-landing__steps li {
    margin-bottom: 6px;
}

.j3d-landing__features {
    margin-top: 16px;
}


.j3d-landing__feature {
    text-align: center;
    padding: 24px 16px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: var(--j3d-radius);
    box-shadow: var(--j3d-shadow);
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 100%;
}

.j3d-landing__feature:hover {
    border-color: #c5cae8;
    box-shadow: 0 4px 16px rgba(66, 76, 185, 0.1);
}

.j3d-landing__feature i {
    font-size: 36px;
    color: var(--j3d-primary);
    margin-bottom: 12px;
}

.j3d-landing__feature h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #3d4a5c;
}

.j3d-landing__feature p {
    font-size: 13px;
    color: #7a8499;
    line-height: 1.55;
    margin: 0;
}

.j3d-landing__links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin: 25px 0;
}

.j3d-landing__card-link {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none !important;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.j3d-landing__card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.j3d-landing__card-content--center {
    justify-content: center;
}

.j3d-landing__card-link--icon .j3d-landing__card-content--center {
    flex-direction: column;
    gap: 10px;
}

.j3d-landing__format-badge {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1e293b;
    transition: color 0.2s ease;
}

.j3d-landing__format-badge--in {
    color: #0f172a;
}

.j3d-landing__format-badge--out {
    color: var(--j3d-primary);
}

.j3d-landing__card-arrow {
    color: #94a3b8;
    font-size: 14px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.j3d-landing__card-icon .fa {
    font-size: 30px;
    color: var(--j3d-primary);
    transition: color 0.2s ease, transform 0.2s ease;
}

.j3d-landing__card-tool-title {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    text-align: center;
    transition: color 0.2s ease;
}

.j3d-landing__card-hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 76, 185, 0.03) 0%, rgba(66, 76, 185, 0.06) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.j3d-landing__card-link:hover {
    border-color: #a5b0e8;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(66, 76, 185, 0.1);
}

.j3d-landing__card-link:hover .j3d-landing__card-arrow {
    transform: translateX(4px);
    color: var(--j3d-primary-dark);
}

.j3d-landing__card-link:hover .j3d-landing__format-badge--in {
    color: var(--j3d-primary-dark);
}

.j3d-landing__card-link:hover .j3d-landing__card-icon .fa,
.j3d-landing__card-link:hover .j3d-landing__card-tool-title {
    color: var(--j3d-primary-dark);
}

.j3d-landing__card-link:hover .j3d-landing__card-hover-bg {
    opacity: 1;
}


.j3d-landing__seo {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #eceef5;
    color: #555;
    line-height: 1.75;
}

.j3d-landing__seo h2 {
    font-size: 20px;
    margin: 20px 0 12px;
    color: #3d4a5c;
}

/* ——— Таблица и FAQ ——— */
.j3d-converter__table-wrap {
    overflow-x: auto;
    border-radius: var(--j3d-radius);
    border: 1px solid #eceef5;
}

.j3d-converter__table {
    font-size: 14px;
    margin: 0;
    background: #fff;
}

.j3d-converter__table thead th {
    background: var(--j3d-primary-light);
    color: var(--j3d-primary-text);
    font-weight: 600;
    border-color: #dde1ec !important;
}

.j3d-converter__table td {
    border-color: #eceef5 !important;
    vertical-align: middle;
}

.j3d-faq__item {
    margin-bottom: 0;
    padding: 16px 18px;
    background: #fafbfe;
    border: 1px solid #eceef5;
    border-radius: var(--j3d-radius);
    margin-top: 10px;
}

.j3d-faq__item h3 {
    font-size: 15px;
    margin: 0 0 8px;
    color: var(--j3d-primary);
}

.j3d-faq__item p {
    margin: 0;
    color: #555;
    line-height: 1.65;
    font-size: 14px;
}

.breadcrumbs .breadcrumb-sep {
    margin: 0 6px;
    color: #999;
}

@media (max-width: 767px) {
    .j3d-converter__dropzone {
        padding: 32px 16px;
    }

    .j3d-converter__panel {
        padding: 16px;
    }

    .j3d-converter__settings {
        flex-direction: column;
        align-items: stretch;
    }

    .j3d-converter__field select,
    .j3d-converter__field input[type="number"] {
        width: 100%;
    }

    .j3d-converter__actions .btn-u {
        width: 100%;
        text-align: center;
    }

    .j3d-converter__file-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 8px;
    }
}

.j3d-converter__code {
    background: var(--j3d-primary-soft, #f6f7fd);
    border: 1px solid var(--j3d-primary-light, #eef0fb);
    border-radius: 6px;
    padding: 14px 16px;
    overflow-x: auto;
    margin: 12px 0;
}

.j3d-converter__code code {
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    white-space: pre;
}

.j3d-converter__ico-single {
    margin-top: 10px;
}

.j3d-converter__ico-single input[type="number"] {
    max-width: 120px;
}


.j3d-landing__more {
    text-align: center;
    margin-top: 25px !important;
}

.j3d-landing__more .btn-u {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--j3d-primary);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(66, 76, 185, 0.2);
}

.j3d-landing__more .btn-u:hover,
.j3d-landing__more .btn-u:focus,
.j3d-landing__more .btn-u:active {
    background: var(--j3d-primary-dark);
    color: #fff;
    box-shadow: 0 6px 14px rgba(66, 76, 185, 0.3);
    transform: translateY(-1px);
}

.j3d-converter .btn-u:hover,
.j3d-converter .btn-u:focus,
.j3d-converter .btn-u:active,
.j3d-converter .j3d-landing__link:hover {
    color: #fff;
}

