
/* NUJIZ DYNAMIC CATEGORY HERO V3 */

html body[data-nujiz-tool-theme]{
    --nch-a:#352078;
    --nch-b:#7545df;
    --nch-c:#9e45bf;
    --nch-rgb:124,83,225;
    --nch-accent:#bda3ff;
}

html body[data-nujiz-tool-theme]
[data-unused-selector="all-tools"]{
    --nch-rgb:124,83,225;
}

html body[data-nujiz-tool-theme][data-nujiz-tool-theme="all-tools"]{
    --nch-a:#352078;
    --nch-b:#7545df;
    --nch-c:#9e45bf;
    --nch-rgb:124,83,225;
    --nch-accent:#bda3ff;
}

html body[data-nujiz-tool-theme]
[data-unused-selector="image-tools"]{
    --nch-rgb:139,92,246;
}

html body[data-nujiz-tool-theme][data-nujiz-tool-theme="image-tools"]{
    --nch-a:#402079;
    --nch-b:#8246df;
    --nch-c:#a83bc4;
    --nch-rgb:139,92,246;
    --nch-accent:#c4aaff;
}

html body[data-nujiz-tool-theme]
[data-unused-selector="video-tools"]{
    --nch-rgb:59,130,246;
}

html body[data-nujiz-tool-theme][data-nujiz-tool-theme="video-tools"]{
    --nch-a:#102e68;
    --nch-b:#2164cc;
    --nch-c:#087e9e;
    --nch-rgb:59,130,246;
    --nch-accent:#9bc5ff;
}

html body[data-nujiz-tool-theme]
[data-unused-selector="audio-tools"]{
    --nch-rgb:16,185,129;
}

html body[data-nujiz-tool-theme][data-nujiz-tool-theme="audio-tools"]{
    --nch-a:#064538;
    --nch-b:#087e61;
    --nch-c:#087d79;
    --nch-rgb:16,185,129;
    --nch-accent:#75e6bd;
}

html body[data-nujiz-tool-theme]
[data-unused-selector="pdf-tools"]{
    --nch-rgb:244,83,108;
}

html body[data-nujiz-tool-theme][data-nujiz-tool-theme="pdf-tools"]{
    --nch-a:#741d37;
    --nch-b:#bd3452;
    --nch-c:#bd4a35;
    --nch-rgb:244,83,108;
    --nch-accent:#ffa3b2;
}

html body[data-nujiz-tool-theme]
[data-unused-selector="conversion-tools"]{
    --nch-rgb:234,158,36;
}

html body[data-nujiz-tool-theme][data-nujiz-tool-theme="conversion-tools"]{
    --nch-a:#70370c;
    --nch-b:#a65c08;
    --nch-c:#9b6810;
    --nch-rgb:234,158,36;
    --nch-accent:#ffd08a;
}

html body[data-nujiz-tool-theme]
[data-unused-selector="text-tools"]{
    --nch-rgb:226,83,159;
}

html body[data-nujiz-tool-theme][data-nujiz-tool-theme="text-tools"]{
    --nch-a:#702050;
    --nch-b:#ac367b;
    --nch-c:#8637a8;
    --nch-rgb:226,83,159;
    --nch-accent:#f8add8;
}


/* =====================================
   MAIN HERO
   ===================================== */

html body[data-nujiz-tool-theme] .nct-tool-hero{
    position:relative!important;
    isolation:isolate;
    overflow:hidden!important;

    padding:38px 30px 34px!important;

    border-radius:26px!important;

    background:linear-gradient(
        120deg,
        var(--nch-a) 0%,
        var(--nch-b) 48%,
        var(--nch-c) 75%,
        var(--nch-a) 100%
    )!important;

    background-size:220% 220%!important;

    border:1px solid rgba(255,255,255,.13);

    box-shadow:
        0 16px 40px rgba(var(--nch-rgb),.16),
        inset 0 1px 0 rgba(255,255,255,.12);

    animation:nchGradient 18s ease infinite;
}

@keyframes nchGradient{
    0%,100%{
        background-position:0% 50%;
    }
    50%{
        background-position:100% 50%;
    }
}

html body[data-nujiz-tool-theme]
.nct-tool-hero > :not(.nch-decor){
    position:relative;
    z-index:2;
}

/* =====================================
   DECORATIVE BACKGROUND
   ===================================== */

body[data-nujiz-tool-theme] .nch-decor{
    position:absolute!important;
    inset:0;
    z-index:0;
    pointer-events:none;
    overflow:hidden;
}

body[data-nujiz-tool-theme] .nch-orb{
    position:absolute;
    border-radius:50%;
    pointer-events:none;
}

body[data-nujiz-tool-theme] .nch-orb-one{
    width:340px;
    height:340px;
    top:-190px;
    inset-inline-start:-90px;

    background:radial-gradient(
        circle,
        rgba(255,255,255,.16),
        transparent 72%
    );

    animation:nchOrbOne 12s ease-in-out infinite;
}

body[data-nujiz-tool-theme] .nch-orb-two{
    width:380px;
    height:380px;
    bottom:-210px;
    inset-inline-end:-100px;

    background:radial-gradient(
        circle,
        rgba(255,255,255,.13),
        transparent 70%
    );

    animation:nchOrbTwo 15s ease-in-out infinite;
}

@keyframes nchOrbOne{
    0%,100%{transform:translate(0,0);}
    50%{transform:translate(65px,40px);}
}

@keyframes nchOrbTwo{
    0%,100%{transform:translate(0,0);}
    50%{transform:translate(-55px,-35px);}
}

body[data-nujiz-tool-theme] .nch-ring{
    position:absolute;
    border:1px solid rgba(255,255,255,.12);
    border-radius:50%;
}

body[data-nujiz-tool-theme] .nch-ring-one{
    width:260px;
    height:260px;
    inset-inline-end:-100px;
    top:-115px;

    box-shadow:
        0 0 0 25px rgba(255,255,255,.025),
        0 0 0 55px rgba(255,255,255,.025);
}

body[data-nujiz-tool-theme] .nch-ring-two{
    width:210px;
    height:210px;
    inset-inline-start:-85px;
    bottom:-110px;

    box-shadow:
        0 0 0 28px rgba(255,255,255,.025);
}

body[data-nujiz-tool-theme] .nch-dots{
    position:absolute;
    inset:0;

    background-image:radial-gradient(
        rgba(255,255,255,.11) 1px,
        transparent 1px
    );

    background-size:22px 22px;

    opacity:.45;
}

/* Decorative equalizer */

body[data-nujiz-tool-theme] .nch-wave{
    position:absolute;
    inset-inline-end:7%;
    bottom:16%;
    display:flex;
    align-items:center;
    gap:6px;
    height:90px;
    opacity:.13;
}

body[data-nujiz-tool-theme] .nch-wave i{
    display:block;
    width:5px;
    height:25px;
    border-radius:8px;
    background:#fff;
    transform-origin:center;
    animation:nchWave 2.8s ease-in-out infinite;
}

body[data-nujiz-tool-theme] .nch-wave i:nth-child(2){
    height:40px;
    animation-delay:.2s;
}
body[data-nujiz-tool-theme] .nch-wave i:nth-child(3){
    height:60px;
    animation-delay:.4s;
}
body[data-nujiz-tool-theme] .nch-wave i:nth-child(4){
    height:35px;
    animation-delay:.6s;
}
body[data-nujiz-tool-theme] .nch-wave i:nth-child(5){
    height:75px;
    animation-delay:.8s;
}
body[data-nujiz-tool-theme] .nch-wave i:nth-child(6){
    height:50px;
    animation-delay:1s;
}
body[data-nujiz-tool-theme] .nch-wave i:nth-child(7){
    height:32px;
    animation-delay:1.2s;
}
body[data-nujiz-tool-theme] .nch-wave i:nth-child(8){
    height:48px;
    animation-delay:1.4s;
}
body[data-nujiz-tool-theme] .nch-wave i:nth-child(9){
    height:20px;
    animation-delay:1.6s;
}

@keyframes nchWave{
    0%,100%{transform:scaleY(.65);}
    50%{transform:scaleY(1.15);}
}

/* =====================================
   HERO ICON
   ===================================== */

html body[data-nujiz-tool-theme] .nc-hero-icon{
    display:grid!important;
    place-items:center!important;

    width:72px!important;
    height:72px!important;

    margin:0 auto 15px!important;

    border-radius:23px!important;

    background:linear-gradient(
        145deg,
        rgba(255,255,255,.24),
        rgba(255,255,255,.09)
    )!important;

    border:1px solid rgba(255,255,255,.28);

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;

    box-shadow:
        0 10px 25px rgba(0,0,0,.13),
        inset 0 1px 0 rgba(255,255,255,.20);

    animation:nchIconFloat 5s ease-in-out infinite;
}

html body[data-nujiz-tool-theme] .nc-hero-icon svg{
    width:35px!important;
    height:35px!important;
    color:#fff!important;
    stroke:#fff!important;
    fill:none!important;
}

@keyframes nchIconFloat{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-5px);}
}

/* =====================================
   TITLES AND DESCRIPTION
   ===================================== */

html body[data-nujiz-tool-theme] .nch-brand{
    font-size:12px!important;
    font-weight:800!important;
    letter-spacing:1px;
    margin:0 0 8px;

    color:#f1edff!important;
    -webkit-text-fill-color:#f1edff!important;
}

html[dir="rtl"] body[data-nujiz-tool-theme] .nch-brand{
    letter-spacing:0;
}

html body[data-nujiz-tool-theme] .nct-tool-hero h1{
    font-size:clamp(30px,3.2vw,48px)!important;
    font-weight:900!important;
    line-height:1.45!important;

    margin:8px 0 12px!important;

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;

    text-shadow:0 3px 15px rgba(0,0,0,.12);
}

html body[data-nujiz-tool-theme] .nct-tool-hero p{
    max-width:850px!important;
    margin:0 auto 22px!important;

    font-size:17px!important;
    font-weight:600!important;
    line-height:1.9!important;

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

/* =====================================
   PROFESSIONAL SEARCH
   ===================================== */

html body[data-nujiz-tool-theme] .nc-search{
    position:relative!important;
    max-width:650px!important;
    margin:22px auto 18px!important;
}

html body[data-nujiz-tool-theme] .nc-search label{
    display:block;
    margin-bottom:9px!important;
    font-size:15px!important;
    font-weight:800!important;

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

html body[data-nujiz-tool-theme] #ncSearch{
    width:100%!important;
    min-height:58px!important;

    padding-block:14px!important;
    padding-inline-start:20px!important;
    padding-inline-end:58px!important;

    border:2px solid transparent!important;
    border-radius:16px!important;

    background:#fff!important;

    color:#192237!important;
    -webkit-text-fill-color:#192237!important;

    font-size:16px!important;
    font-weight:600!important;

    box-shadow:0 8px 25px rgba(0,0,0,.12);

    outline:none!important;

    transition:
        box-shadow .25s ease,
        border-color .25s ease;
}

html body[data-nujiz-tool-theme]
#ncSearch::placeholder{
    color:#667085!important;
    -webkit-text-fill-color:#667085!important;
    opacity:1!important;
}

html body[data-nujiz-tool-theme] #ncSearch:focus{
    border-color:var(--nch-accent)!important;

    box-shadow:
        0 0 0 4px rgba(255,255,255,.20),
        0 10px 30px rgba(0,0,0,.14);
}

html body[data-nujiz-tool-theme] .nch-search-icon{
    position:absolute!important;
    inset-inline-end:18px;
    bottom:17px;

    width:24px;
    height:24px;

    pointer-events:none;

    color:var(--nch-b)!important;
}

html body[data-nujiz-tool-theme] .nch-search-icon svg{
    width:24px;
    height:24px;
    stroke:var(--nch-b)!important;
    fill:none!important;
}

/* =====================================
   TOOL COUNTER
   ===================================== */

html body[data-nujiz-tool-theme] .nct-tool-hero-count{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:7px;

    padding:9px 18px!important;
    margin:0 auto!important;

    border-radius:30px;

    background:rgba(255,255,255,.12)!important;

    border:1px solid rgba(255,255,255,.24);

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;

    font-size:14px!important;
    font-weight:700!important;
}

html body[data-nujiz-tool-theme]
.nct-tool-hero-count strong{
    font-size:17px!important;
    font-weight:900!important;

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

html body[data-nujiz-tool-theme]
.nct-tool-hero-count::before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:#baff8a;

    box-shadow:0 0 9px rgba(186,255,138,.55);
}

/* =====================================
   ACTIVE CATEGORY TAB
   ===================================== */

html body[data-nujiz-tool-theme]
.nc-tabs a.nc-current{
    background:rgba(var(--nch-rgb),.12)!important;
    border-color:var(--nch-b)!important;

    color:var(--nch-a)!important;
    -webkit-text-fill-color:var(--nch-a)!important;
}

html[data-theme="dark"] body[data-nujiz-tool-theme]
.nc-tabs a.nc-current{
    background:rgba(var(--nch-rgb),.16)!important;
    border-color:var(--nch-accent)!important;

    color:var(--nch-accent)!important;
    -webkit-text-fill-color:var(--nch-accent)!important;
}

/* Breadcrumb readability */

html body[data-nujiz-tool-theme] .nc-breadcrumb span{
    color:#596579!important;
    -webkit-text-fill-color:#596579!important;
}

html[data-theme="dark"] body[data-nujiz-tool-theme]
.nc-breadcrumb span{
    color:#b4bed1!important;
    -webkit-text-fill-color:#b4bed1!important;
}

/* =====================================
   MOBILE RESPONSIVE
   ===================================== */

@media(max-width:600px){

    html body[data-nujiz-tool-theme] .nct-tool-hero{
        padding:27px 17px 25px!important;
        border-radius:20px!important;
    }

    html body[data-nujiz-tool-theme] .nc-hero-icon{
        width:57px!important;
        height:57px!important;
        border-radius:18px!important;
    }

    html body[data-nujiz-tool-theme] .nc-hero-icon svg{
        width:29px!important;
        height:29px!important;
    }

    html body[data-nujiz-tool-theme] .nct-tool-hero h1{
        font-size:28px!important;
    }

    html body[data-nujiz-tool-theme] .nct-tool-hero p{
        font-size:14px!important;
        line-height:1.85!important;
    }

    html body[data-nujiz-tool-theme] #ncSearch{
        min-height:53px!important;
        font-size:14px!important;
    }

    html body[data-nujiz-tool-theme] .nch-search-icon{
        bottom:14px;
    }

    body[data-nujiz-tool-theme] .nch-wave{
        display:none!important;
    }

    body[data-nujiz-tool-theme] .nch-orb-one,
    body[data-nujiz-tool-theme] .nch-orb-two{
        animation:none!important;
    }

    html body[data-nujiz-tool-theme] .nct-tool-hero{
        animation-duration:28s;
    }
}

/* =====================================
   ACCESSIBILITY
   ===================================== */

@media(prefers-reduced-motion:reduce){

    html body[data-nujiz-tool-theme] .nct-tool-hero,
    html body[data-nujiz-tool-theme] .nct-tool-hero *,
    html body[data-nujiz-tool-theme] .nct-tool-hero::before,
    html body[data-nujiz-tool-theme] .nct-tool-hero::after{
        animation:none!important;
        transition:none!important;
    }
}


/* NUJIZ TOOL CATEGORY HERO V2 */

html body[data-nujiz-tool-theme]
main .nct-tool-hero:not(#nctHeroPriority){

    display:block!important;
    position:relative!important;

    width:calc(100% - 40px)!important;
    max-width:1160px!important;
    min-width:0!important;

    height:auto!important;
    min-height:0!important;

    margin:12px auto 24px!important;
    padding:36px 30px 32px!important;

    box-sizing:border-box!important;
    text-align:center!important;

    border-radius:26px!important;
    overflow:hidden!important;

    background:linear-gradient(
        120deg,
        var(--nch-a) 0%,
        var(--nch-b) 48%,
        var(--nch-c) 75%,
        var(--nch-a) 100%
    )!important;

    background-size:220% 220%!important;

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

html body[data-nujiz-tool-theme]
main .nct-tool-hero > :not(.nch-decor){

    position:relative;
    z-index:2;
}

html body[data-nujiz-tool-theme]
main .nct-tool-hero:not(#nctHeroPriority) h1{

    display:block!important;
    max-width:1000px!important;

    margin:10px auto 14px!important;
    padding:0!important;

    font-size:clamp(27px,3vw,43px)!important;
    font-weight:900!important;
    line-height:1.45!important;

    text-align:center!important;

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;

    background:none!important;
}

html body[data-nujiz-tool-theme]
main .nct-tool-hero:not(#nctHeroPriority) p{

    max-width:850px!important;

    margin:0 auto 20px!important;

    font-size:17px!important;
    line-height:1.9!important;

    text-align:center!important;

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

/* Original tool badge */

html body[data-nujiz-tool-theme]
main .nct-tool-hero .nct-tool-badge{

    display:inline-flex!important;

    padding:6px 14px!important;
    margin:4px auto 5px!important;

    border-radius:30px!important;

    background:rgba(255,255,255,.12)!important;
    border:1px solid rgba(255,255,255,.20);

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;

    font-size:12px!important;
    font-weight:700!important;
}

/* Tool features */

html body[data-nujiz-tool-theme]
main .nct-tool-hero .nct-tool-points{

    display:flex!important;
    flex-wrap:wrap!important;

    justify-content:center!important;
    align-items:center!important;

    gap:8px!important;
    margin:18px auto!important;
}

html body[data-nujiz-tool-theme]
main .nct-tool-hero .nct-tool-points > span{

    display:inline-flex!important;

    padding:8px 13px!important;
    border-radius:30px!important;

    background:rgba(255,255,255,.12)!important;
    border:1px solid rgba(255,255,255,.23);

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;

    font-size:13px!important;
    font-weight:700!important;
}

/* Action buttons */

html body[data-nujiz-tool-theme]
main .nct-tool-hero .nct-tool-actions{

    display:flex!important;
    flex-wrap:wrap!important;

    justify-content:center!important;
    align-items:stretch!important;

    gap:10px!important;

    margin:20px auto 0!important;
}

html body[data-nujiz-tool-theme]
main .nct-tool-hero .nct-tool-actions > a{

    display:inline-flex!important;

    justify-content:center!important;
    align-items:center!important;

    min-height:48px!important;
    padding:11px 22px!important;

    box-sizing:border-box!important;

    border:1px solid rgba(255,255,255,.40)!important;
    border-radius:13px!important;

    background:rgba(255,255,255,.12)!important;

    color:#fff!important;
    -webkit-text-fill-color:#fff!important;

    font-size:14px!important;
    font-weight:800!important;

    text-decoration:none!important;
}

html body[data-nujiz-tool-theme]
main .nct-tool-hero .nct-tool-actions
> a.nct-primary-action{

    background:#fff!important;
    border-color:#fff!important;

    color:var(--nch-a)!important;
    -webkit-text-fill-color:var(--nch-a)!important;

    box-shadow:0 6px 18px rgba(0,0,0,.12);
}

html body[data-nujiz-tool-theme]
main .nct-tool-hero .nct-tool-actions > a *{

    color:inherit!important;
    -webkit-text-fill-color:inherit!important;
}

/* PDF hero already inside a bounded wrapper */

html body[data-nujiz-tool-theme]
main .pdf-page-wrap > .nct-tool-hero{

    width:100%!important;
    margin:0 auto 22px!important;
}

/* Mobile */

@media(max-width:767px){

    html body[data-nujiz-tool-theme]
    main .nct-tool-hero:not(#nctHeroPriority){

        width:calc(100% - 24px)!important;

        padding:25px 16px 24px!important;
        margin:10px auto 18px!important;

        border-radius:20px!important;
    }

    html body[data-nujiz-tool-theme]
    main .pdf-page-wrap > .nct-tool-hero{

        width:100%!important;
    }

    html body[data-nujiz-tool-theme]
    main .nct-tool-hero:not(#nctHeroPriority) h1{

        font-size:27px!important;
        line-height:1.5!important;
    }

    html body[data-nujiz-tool-theme]
    main .nct-tool-hero:not(#nctHeroPriority) p{

        font-size:15px!important;
        line-height:1.85!important;
    }

    html body[data-nujiz-tool-theme]
    main .nct-tool-hero .nct-tool-points > span{

        font-size:11px!important;
        padding:7px 10px!important;
    }

    html body[data-nujiz-tool-theme]
    main .nct-tool-hero .nct-tool-actions > a{

        flex:1 1 130px;
        font-size:13px!important;
        padding:10px 12px!important;
    }
}

@media(prefers-reduced-motion:reduce){

    body[data-nujiz-tool-theme] .nct-tool-hero,
    body[data-nujiz-tool-theme] .nct-tool-hero *{

        animation:none!important;
        transition:none!important;
    }
}

