/* Файлообменник — автономные стили (не зависят от /pages/profile/css на поддомене) */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-subtle: rgba(37, 99, 235, 0.12);
    --primary-border: rgba(37, 99, 235, 0.28);
    --success-color: #10b981;
    --av-green: #059669;
    --av-green-light: #34d399;
    --av-glow: rgba(16, 185, 129, 0.35);
    --danger-color: #ef4444;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --surface-header: rgba(255, 255, 255, 0.88);
    --liquid-bg: rgba(255, 255, 255, 0.55);
    --liquid-border: rgba(255, 255, 255, 0.45);
    --liquid-border-subtle: rgba(255, 255, 255, 0.22);
    --liquid-blur: blur(24px) saturate(180%);
    --liquid-blur-sm: blur(18px) saturate(170%);
    --liquid-shadow: 0 4px 24px rgba(31, 38, 135, 0.07);
    --liquid-shadow-xs: 0 2px 10px rgba(31, 38, 135, 0.04);
    --profile-radius-md: 16px;
    --profile-radius-lg: 22px;
    --header-height: 60px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

.fd-body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    color: var(--text-primary);
    background: linear-gradient(160deg, #e0e7ff 0%, #f5f3ff 35%, #e0f2fe 70%, #fce7f3 100%);
    background-attachment: fixed;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0));
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}

/* ─── Header (как на lbl3d.info) ─── */
.fd-body > header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-top: env(safe-area-inset-top, 0);
    min-height: var(--header-height);
    background: var(--surface-header);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border-bottom: 1px solid var(--liquid-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}

.fd-body > header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: var(--header-height);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .fd-body > header .header-content {
        padding: 0 24px;
    }
}

.fd-body > header .logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex-shrink: 0;
    color: inherit;
}

.fd-body > header .logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14), 0 3px 10px rgba(37, 99, 235, 0.32);
}

.fd-body > header .logo-wordmark {
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.6px;
    line-height: 1;
}

.fd-body > header .logo-wordmark em {
    font-style: normal;
    font-weight: 400;
    color: var(--text-secondary);
}

.fd-body > header .hdr-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.demo-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: lowercase;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--liquid-border);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 2px;
    align-self: flex-start;
    margin-top: 1px;
}

/* Центральная навигация — как на lbl3d.info */
.idx-nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.idx-nav-center ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.idx-nav-center a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.18s, background 0.18s;
    white-space: nowrap;
    text-decoration: none;
}

.idx-nav-center a:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.07);
}

.idx-nav-center a.is-active {
    color: var(--primary-color);
    background: var(--primary-subtle);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px var(--primary-border);
}

@media (max-width: 1280px) {
    .idx-nav-center a {
        padding: 6px 8px;
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .idx-nav-center {
        display: none;
    }
}

/* Кнопки входа / регистрации — как на лендинге */
.idx-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px 6px 8px;
    border: 1px solid var(--liquid-border);
    border-radius: 999px;
    background: var(--liquid-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.idx-login-btn:hover {
    background: rgba(255, 255, 255, 0.85);
}

.idx-login-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hdr-icon-btn {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--liquid-border);
    background: var(--liquid-bg);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.hdr-icon-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-color);
}

.hdr-icon-btn--register {
    color: var(--primary-color);
}

.hdr-balance-text {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.idx-hamburger {
    display: none;
}

@media (max-width: 900px) {
    .idx-hamburger {
        display: flex !important;
    }
}

/* Мобильное меню */
.idx-mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding-top: calc(var(--header-height) + 12px);
}

.idx-mobile-nav.open {
    display: flex;
}

.idx-mobile-nav-inner {
    background: #fff;
    margin: 0 12px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.idx-mobile-nav-inner a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.idx-mobile-nav-inner a:hover {
    background: rgba(37, 99, 235, 0.05);
}

.idx-mobile-nav-label {
    margin: 0;
    padding: 12px 18px 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: none;
}

.idx-mobile-nav-label + a {
    border-top: none;
}

.idx-mobile-nav-inner a.is-active {
    background: var(--primary-subtle);
    color: var(--primary-color);
    font-weight: 600;
}

.idx-mobile-nav-inner .nav-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
}

.idx-mobile-auth {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.idx-mobile-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.idx-mobile-auth-btn--primary {
    background: var(--primary-color);
    color: #fff;
}

.idx-mobile-auth-btn--ghost {
    background: rgba(37, 99, 235, 0.07);
    color: var(--primary-color);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Как на главной */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass-card {
    background: var(--liquid-bg, rgba(255, 255, 255, 0.55));
    backdrop-filter: var(--liquid-blur-sm, blur(18px) saturate(170%));
    -webkit-backdrop-filter: var(--liquid-blur-sm, blur(18px) saturate(170%));
    border: 1px solid var(--liquid-border, rgba(255, 255, 255, 0.45));
    border-radius: var(--profile-radius-lg, 22px);
    box-shadow: var(--liquid-shadow, 0 4px 24px rgba(31, 38, 135, 0.07));
}

.btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    background: var(--primary-color, #2563eb);
    color: #fff;
    border: none;
    border-radius: var(--profile-radius-md, 16px);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    text-decoration: none;
}

.btn-blue:hover:not(:disabled) {
    background: var(--primary-dark, #1d4ed8);
    transform: translateY(-2px);
}

.btn-blue:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--profile-radius-md, 16px);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-primary, #0f172a);
    cursor: pointer;
    transition: all 0.22s ease;
    text-decoration: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
}


.fd-main {
    flex: 1 0 auto;
    padding: 28px 0 0;
    width: 100%;
}

/* Страница скачивания (?t=...) — без мигания формы загрузки */
html.fd-mode-download .fd-hero,
html.fd-mode-download #uploadSection,
html.fd-mode-download #resultSection,
html.fd-mode-download #securitySection {
    display: none !important;
}

html.fd-mode-download #downloadSection {
    display: block !important;
}

html.fd-mode-download .fd-verified-badge,
html.fd-mode-download .fd-verified-icon,
html.fd-mode-download .fd-pulse-dot,
html.fd-mode-download .fd-av-live {
    animation: none !important;
}

html.fd-mode-download .fd-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0 32px;
}

html.fd-mode-download .fd-main .container {
    max-width: 520px;
    width: 100%;
}

.fd-hero {
    text-align: center;
    padding: 32px 24px 28px;
    margin-bottom: 20px;
}

.fd-hero--compact {
    padding: 22px 20px 18px;
    margin-bottom: 14px;
}

.fd-hero--compact h1 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.fd-hero--compact .fd-hero-lead {
    margin: 0 auto 14px;
    max-width: 480px;
    font-size: 14px;
}

.fd-hero--compact .fd-hero-stats {
    gap: 8px 20px;
    font-size: 13px;
}

.fd-hero--promo {
    position: relative;
    overflow: hidden;
}

.fd-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.fd-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    animation: fd-orb-float 8s ease-in-out infinite;
}

.fd-orb--1 {
    width: 180px;
    height: 180px;
    background: rgba(37, 99, 235, 0.35);
    top: -40px;
    left: -30px;
}

.fd-orb--2 {
    width: 140px;
    height: 140px;
    background: rgba(16, 185, 129, 0.3);
    bottom: -20px;
    right: 10%;
    animation-delay: -2.5s;
}

.fd-orb--3 {
    width: 100px;
    height: 100px;
    background: rgba(79, 70, 229, 0.28);
    top: 30%;
    right: -20px;
    animation-delay: -4s;
}

.fd-hero--promo > *:not(.fd-hero-glow) {
    position: relative;
    z-index: 1;
}

.fd-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.fd-av-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--av-green);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(37, 99, 235, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 24px var(--av-glow);
    animation: fd-av-glow 2.5s ease-in-out infinite;
}

.fd-av-live.is-off {
    color: var(--text-muted);
    border-color: rgba(100, 116, 139, 0.3);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: none;
    animation: none;
}

.fd-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--av-green-light);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: fd-pulse-dot 1.8s ease-out infinite;
}

.fd-hero-accent {
    background: linear-gradient(120deg, var(--primary-color), var(--av-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fd-hero-lead {
    margin: 0 auto 20px;
    max-width: 540px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
}

.fd-hero-lead strong {
    color: var(--av-green);
    font-weight: 600;
}

.fd-stat-av {
    color: var(--av-green) !important;
    font-weight: 600;
}

.fd-stat-av strong {
    color: var(--av-green);
}

/* ─── Security block (внизу страницы, компактно) ─── */
.fd-security {
    margin-bottom: 20px;
    padding: 28px 24px;
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(236, 253, 245, 0.45));
}

.fd-security--aside {
    padding: 18px 20px 20px;
    margin-bottom: 20px;
    border-color: rgba(16, 185, 129, 0.18);
    background: rgba(255, 255, 255, 0.5);
}

.fd-security-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin: 0 0 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.fd-security-heading > i {
    color: var(--av-green);
    font-size: 1.1rem;
}

.fd-av-live--inline {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

@media (max-width: 480px) {
    .fd-av-live--inline {
        margin-left: 0;
    }
}

.fd-security-intro {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
}

.fd-security-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.fd-security-chips li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(16, 185, 129, 0.12);
}

.fd-security-chips li i {
    color: var(--av-green);
    font-size: 13px;
    flex-shrink: 0;
}

@media (min-width: 520px) {
    .fd-security-chips {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.fd-panel--primary {
    margin-bottom: 14px;
}

.fd-panel--primary .fd-dropzone {
    padding: 40px 20px;
}

.fd-security-grid {
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 28px 32px;
    align-items: center;
}

@media (max-width: 640px) {
    .fd-security-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.fd-security-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.fd-shield-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fd-shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.25);
    animation: fd-ring-pulse 3s ease-out infinite;
}

.fd-shield-ring--1 {
    inset: 0;
}

.fd-shield-ring--2 {
    inset: 14px;
    animation-delay: -1s;
}

.fd-shield-ring--3 {
    inset: 28px;
    animation-delay: -2s;
}

.fd-shield-core {
    position: relative;
    z-index: 2;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #fff;
    background: linear-gradient(145deg, var(--av-green), #047857);
    box-shadow:
        0 0 0 6px rgba(16, 185, 129, 0.15),
        0 12px 32px rgba(5, 150, 105, 0.45);
    animation: fd-shield-bob 4s ease-in-out infinite;
}

.fd-scan-beam {
    position: absolute;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--av-green-light), transparent);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--av-green-light);
    animation: fd-scan-sweep 2.8s ease-in-out infinite;
    z-index: 3;
    opacity: 0.9;
}

.fd-scan-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--av-green);
}

.fd-scan-line {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--av-green), transparent);
    animation: fd-scan-line 1.2s ease-in-out infinite;
}

.fd-security-copy h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.fd-security-copy > p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.fd-security-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fd-sec-feat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(16, 185, 129, 0.15);
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-secondary);
    animation: fd-feat-in 0.6s ease backwards;
    animation-delay: var(--fd-delay, 0ms);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.fd-sec-feat:hover {
    transform: translateX(4px);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12);
}

.fd-sec-feat-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--av-green);
    background: rgba(16, 185, 129, 0.12);
}

.fd-sec-feat strong {
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .fd-sec-feat:hover {
        transform: none;
    }
}

/* Panel AV strip */
.fd-panel-av-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 14px;
    font-size: 14px;
    color: var(--text-secondary);
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(37, 99, 235, 0.06));
    border: 1px solid rgba(16, 185, 129, 0.22);
    animation: fd-strip-shine 4s ease-in-out infinite;
}

.fd-panel-av-strip strong {
    color: var(--av-green);
}

.fd-panel-av-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--av-green), #047857);
    animation: fd-icon-pulse 2s ease-in-out infinite;
}

/* Verified badge */
.fd-verified-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04));
    border: 1px solid rgba(16, 185, 129, 0.35);
    animation: fd-verified-pop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.fd-verified-badge--compact {
    margin-bottom: 16px;
    padding: 14px 16px;
}

.fd-verified-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(145deg, var(--av-green-light), var(--av-green));
    box-shadow: 0 4px 16px var(--av-glow);
    animation: fd-verified-icon 2s ease-in-out infinite;
}

.fd-verified-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.fd-verified-text strong {
    font-size: 15px;
    color: var(--av-green);
}

.fd-verified-text small {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.fd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #2563eb);
    background: var(--primary-subtle, rgba(37, 99, 235, 0.12));
    border: 1px solid var(--primary-border, rgba(37, 99, 235, 0.2));
    margin-bottom: 16px;
}

.fd-hero h1 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    color: var(--text-primary, #0f172a);
}

.fd-hero p {
    margin: 0 auto 20px;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted, #64748b);
}

.fd-hero-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 14px;
    color: var(--text-secondary, #475569);
}

.fd-hero-stats strong {
    color: var(--primary-color, #2563eb);
    font-family: "Montserrat", sans-serif;
}

.fd-panel {
    padding: 24px 22px;
    margin-bottom: 20px;
}

.fd-panel--success {
    border-color: rgba(16, 185, 129, 0.35);
}

.fd-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    border: 1px solid var(--liquid-border-subtle, rgba(255, 255, 255, 0.22));
}

.fd-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.fd-tab.is-active {
    background: #fff;
    color: var(--primary-color, #2563eb);
    box-shadow: var(--liquid-shadow-xs, 0 2px 10px rgba(31, 38, 135, 0.06));
}

.fd-dropzone {
    border: 2px dashed rgba(37, 99, 235, 0.35);
    border-radius: var(--profile-radius-md, 16px);
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.35);
}

.fd-dropzone:hover,
.fd-dropzone:focus-visible,
.fd-dropzone.is-dragover {
    border-color: var(--primary-color, #2563eb);
    background: rgba(37, 99, 235, 0.05);
    outline: none;
}

.fd-dropzone.has-files {
    border-style: solid;
    border-color: rgba(16, 185, 129, 0.45);
}

.fd-dropzone-icon {
    font-size: 2.5rem;
    color: var(--primary-color, #2563eb);
    margin-bottom: 10px;
}

.fd-dropzone-title {
    margin: 0 0 6px;
    font-weight: 600;
    font-size: 16px;
}

.fd-dropzone-hint {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted, #64748b);
}

.fd-file-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 12px 0 0;
    max-height: 180px;
    overflow-y: auto;
    text-align: left;
    font-size: 13px;
    border-top: 1px solid var(--liquid-border-subtle, rgba(0, 0, 0, 0.06));
}

.fd-file-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
    color: var(--text-muted, #64748b);
    word-break: break-all;
}

.fd-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.fd-field {
    flex: 1;
    min-width: 160px;
}

.fd-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #64748b);
    margin-bottom: 6px;
}

.fd-select,
.fd-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--liquid-border, rgba(255, 255, 255, 0.45));
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-primary, #0f172a);
    font: inherit;
    font-size: 15px;
}

.fd-upload-btn {
    flex-shrink: 0;
    min-width: 160px;
}

.fd-progress {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--liquid-border-subtle);
}

.fd-progress.is-scanning {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.6), rgba(255, 255, 255, 0.5));
    animation: fd-progress-glow 1.5s ease-in-out infinite;
}

.fd-progress-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.fd-progress-shield {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(145deg, var(--av-green), #047857);
    animation: fd-shield-spin 2s linear infinite;
}

.fd-progress.is-scanning .fd-progress-shield {
    display: flex;
}

.fd-progress-track {
    height: 10px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.fd-progress-track span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color, #2563eb), var(--primary-light, #3b82f6));
    border-radius: 6px;
    transition: width 0.15s;
    position: relative;
}

.fd-progress.is-scanning .fd-progress-track span {
    background: linear-gradient(
        90deg,
        var(--av-green),
        var(--av-green-light),
        var(--primary-light),
        var(--av-green-light)
    );
    background-size: 200% 100%;
    animation: fd-progress-shimmer 1.2s linear infinite;
}

.fd-progress-text {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.fd-progress.is-scanning .fd-progress-text {
    color: var(--av-green);
}

.fd-error {
    color: var(--danger-color, #ef4444);
    font-size: 14px;
    margin-top: 12px;
}

.fd-result-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.fd-result-icon {
    font-size: 2.25rem;
    color: var(--success-color, #10b981);
    line-height: 1;
}

.fd-result-head h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.35rem;
    margin: 0 0 6px;
}

.fd-muted {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted, #64748b);
}

.fd-share-row {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.fd-share-row .fd-input {
    flex: 1;
    min-width: 0;
    font-size: 14px;
}

.fd-icon-btn {
    padding: 12px 14px !important;
    flex-shrink: 0;
}

.fd-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin: 0 0 16px;
}

.fd-meta-grid dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #64748b);
    margin: 0;
}

.fd-meta-grid dd {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 600;
}

.fd-meta-grid code {
    font-size: 12px;
    word-break: break-all;
    background: rgba(15, 23, 42, 0.06);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.fd-details {
    margin-bottom: 16px;
    font-size: 14px;
}

.fd-details summary {
    cursor: pointer;
    color: var(--text-muted, #64748b);
    font-weight: 500;
}

.fd-delete-key {
    display: block;
    margin-top: 10px;
    padding: 12px;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 10px;
    font-size: 12px;
    word-break: break-all;
}

.fd-new-btn {
    width: 100%;
}

.fd-download-panel {
    padding: 24px 22px 22px;
}

.fd-download-kicker {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-align: center;
}

.fd-download-card {
    padding: 20px 18px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.fd-download-file-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.fd-download-file-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    background: linear-gradient(145deg, var(--primary-color), #4f46e5);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.fd-download-file-text {
    min-width: 0;
    flex: 1;
}

.fd-download-kind {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    background: var(--primary-subtle);
}

.fd-download-name {
    margin: 0 0 8px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
    color: var(--text-primary);
}

.fd-download-sub {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.fd-download-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.fd-download-facts > div {
    margin: 0;
}

.fd-download-facts dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin: 0 0 4px;
}

.fd-download-facts dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.fd-download-facts dd code {
    font-size: 11px;
    word-break: break-all;
    font-weight: 500;
}

.fd-download-hint {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 400px) {
    .fd-download-facts {
        grid-template-columns: 1fr;
    }

    .fd-download-file-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.fd-download-skeleton {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 0 8px;
}

.fd-skel {
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        rgba(15, 23, 42, 0.06) 0%,
        rgba(15, 23, 42, 0.1) 50%,
        rgba(15, 23, 42, 0.06) 100%
    );
    background-size: 200% 100%;
    animation: fd-skel-shimmer 1.4s ease-in-out infinite;
}

.fd-skel--title {
    height: 28px;
    width: 55%;
}

.fd-skel--line {
    height: 18px;
    width: 75%;
}

.fd-skel--grid {
    height: 88px;
    width: 100%;
}

.fd-skel--btn {
    height: 48px;
    width: 100%;
    border-radius: 14px;
}

@keyframes fd-skel-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.fd-download-body.is-hidden,
.fd-download-error-wrap.is-hidden,
.fd-download-skeleton.is-hidden {
    display: none !important;
}

.fd-download-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.fd-download-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    color: var(--av-green);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.fd-download-note i {
    flex-shrink: 0;
}

.fd-file-list--download {
    margin-bottom: 16px;
    max-height: 140px;
}

.fd-download-btn {
    width: 100%;
    margin-top: 0;
}

.fd-download-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: color 0.15s, background 0.15s;
}

.fd-download-home:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.06);
}

.fd-download-error-wrap {
    text-align: center;
    padding: 8px 0;
}

.fd-download-error-wrap .fd-error {
    margin: 12px 0 16px;
}

.fd-lead {
    color: var(--text-muted, #64748b);
    margin: 0 0 16px;
}

.fd-body > header .hdr-right {
    min-height: 36px;
    min-width: 100px;
}

@media (prefers-reduced-motion: reduce) {
    .fd-skel {
        animation: none;
        background: rgba(15, 23, 42, 0.08);
    }
}

/* ─── Footer (как на лендинге lbl3d.info) ─── */
.fd-footer-container {
    max-width: 1160px;
    padding: 0 24px;
}

.idx-footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    padding: 56px 0 28px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    color: inherit;
}

.footer-logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.footer-logo-text {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.3px;
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
}

.footer-social:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 14px;
}

.footer-col-note {
    font-size: 13px;
    margin: 0 0 0;
    color: rgba(255, 255, 255, 0.75);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.18s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col ul li a.is-current,
.footer-col ul li.is-current a {
    color: white;
    font-weight: 600;
}

.footer-col ul li i {
    font-size: 12px;
    opacity: 0.6;
    flex-shrink: 0;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 0 22px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.18s;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.subscribe-form {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.subscribe-form input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    color: white;
    font: inherit;
    font-size: 14px;
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.subscribe-form input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.subscribe-form button {
    padding: 10px 18px;
    background: var(--primary-color, #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.18s;
}

.subscribe-form button:hover {
    background: var(--primary-dark, #1d4ed8);
}

@keyframes fd-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -10px) scale(1.08); }
}

@keyframes fd-pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@keyframes fd-av-glow {
    0%, 100% { box-shadow: 0 0 16px var(--av-glow); }
    50% { box-shadow: 0 0 28px rgba(16, 185, 129, 0.5); }
}

@keyframes fd-ring-pulse {
    0% { transform: scale(0.92); opacity: 0.9; }
    100% { transform: scale(1.15); opacity: 0; }
}

@keyframes fd-shield-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes fd-scan-sweep {
    0%, 100% { top: 18%; opacity: 0.3; }
    50% { top: 72%; opacity: 1; }
}

@keyframes fd-scan-line {
    0%, 100% { opacity: 0.4; transform: scaleX(0.6); }
    50% { opacity: 1; transform: scaleX(1); }
}

@keyframes fd-feat-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fd-strip-shine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.04); }
}

@keyframes fd-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes fd-verified-pop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fd-verified-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes fd-progress-glow {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(16, 185, 129, 0); }
    50% { box-shadow: inset 0 0 24px rgba(16, 185, 129, 0.08); }
}

@keyframes fd-progress-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@keyframes fd-shield-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .fd-orb,
    .fd-av-live,
    .fd-pulse-dot,
    .fd-shield-ring,
    .fd-shield-core,
    .fd-scan-beam,
    .fd-scan-line,
    .fd-sec-feat,
    .fd-panel-av-strip,
    .fd-panel-av-icon,
    .fd-verified-badge,
    .fd-verified-icon,
    .fd-progress.is-scanning,
    .fd-progress.is-scanning .fd-progress-track span,
    .fd-progress-shield {
        animation: none !important;
    }
}

.is-hidden {
    display: none !important;
}

@media (max-width: 520px) {
    .fd-form-row {
        flex-direction: column;
    }

    .fd-upload-btn {
        width: 100%;
    }

    .fd-meta-grid {
        grid-template-columns: 1fr;
    }

    .fd-share-row {
        flex-wrap: wrap;
    }

    .fd-share-row .fd-input {
        flex: 1 1 100%;
    }
}
